home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
General
/
Menu Events 1.1.2
/
Menu Events Help
/
Menu Events Help.rsrc
/
STR#_1025.txt
< prev
next >
Wrap
Text File
|
1994-04-20
|
4KB
|
157 lines
these actions will be recorded as Menu Events script commands.
application supports program linking, and the Caps Lock key is down,
recording its menu actions using your script editor. If the target
Before writing a script to control a target application, you should try
the sort of thing you can do with the scripting addition file installed.
to use Menu events in your scripts. “Menu Events Sample Script” shows
Addition” file in your “Scripting Additions” folder. This will allow you
If you have AppleScript, you should place the “Menu Events Scripting
location.
This allows you to use Menu events to control applications from a remote
subject to the usual Users & Groups program linking permission scheme.
Menu events can be received from any machine on the AppleTalk network,
See the section entitled “Limitations” for more information.
will cooperate, with a bit of coaxing.
programmed according to the published instructions of Apple Computer
cooperates depends on how it was programmed, but any application
and hope for a response. Whether or not a particular application
AWOL Utilities), can send a Menu event to any suitably modern application
send Apple events (such as a general scripting utility, or Maybe, part of
Any program you write, or any application which lets you compose and
another application’s menu commands.
do something they would not otherwise be able to do, namely, invoke
However, it has no user interface of its own. It only enables programs to
Menu Events to work. It only requires System 7.
You do not need AppleScript, or any other optional software package, for
åWho Can Use Menu Events?
⌃
⌃
controlling other applications.
system which can be exploited to offer a fairly general means of
the function. This conformity is an asset of the Macintosh operating
selection will shift the application into that mode, then another will access
as well. Often a function is not available in a certain mode, but a menu
however else you can do something, you should be able to do it with menus
is because menus are intended as a baseline for the user interface;
and so on), you will usually find that the subset for menus is largest. This
access these functions (Command-key combination, button click, menus,
of available functions, then take subsets according to how the user can
If you regard an application’s collective user interface in terms of a set
servers.
high-level-event-aware become scriptable and recordable Apple event
controllability. Applications which are by their nature only
this demi-monde of dabblers and dilettantes to the glories of Apple event
programs that send Apple events. Menu Events is a utility which opens up
of these applications is beyond the reach of scripting utilities and other
own. Apart from the Required suite mandated by Finder, the functionality
applications (or just to be modern), but not offering any interface of their
which support program linking, using Apple events to control other
events, there is a large number of “high-level-event-aware” applications
Because there are far more clients than servers in the world of Apple
by defining their own suites of Apple events for other applications to use.
integration by using the Apple event interfaces of other applications, and
integration between applications. Increasingly, developers achieve this
The big trend these days in Macintosh software is toward more
åPurpose
‚àû
‚àû